const { ipcMain } = require('electron')
let fs = require('fs')
ipcMain.handle('on-makefile-event', async (e, filename) => {
    fs.open('./public/' + filename, 'a+', (err, fd) => {
        if (err) {
            console.log(err)
        }
    })
})